<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>移动端_理想视口标准</title>
		<meta name="viewport" content="width=device-width"/>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			#root{
				width: 365px;
				height: 300px;
				background-color: skyblue;
			}
		</style>
	</head>
	<body>
		<div id="root">
			Hello
		</div>
		<script type="text/javascript" >
			console.log('设备的布局视口宽度为：',document.documentElement.clientWidth)
			console.log('设备的视觉视口宽度为：',window.innerWidth)
		</script>
	</body>
</html>